package com.learn.base;

public class TreadExtendsTest {
    public static void main(String[] args) {
        /*MyThread myThread = new MyThread();
        myThread.start();*/
        ThreadImpl threadimpl = new ThreadImpl();
        Thread thread = new Thread(threadimpl);
        thread.start();
        Thread thread1 = new Thread(threadimpl);
        thread1.start();
        Thread thread2 = new Thread(threadimpl);
        thread2.start();
    }
}
